package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.entity.Major;
import com.kgc.entity.TreeNode;
import com.kgc.entity.TreeResult;

import java.util.List;


public interface  MajorService {
   PageInfo<Major> findAll(int page, int limit, Major major);
    void save(Major major);
    void delete(Integer id);
 void deletes(int[] ids);
    Major findById(Integer id);
    void update(Major major);
    void saveMajor(Major major);
     List<TreeNode> findDetps();
    List<TreeResult> findTreeResult();
}
